// PhanCung.h
#include "Tien.h"
#include "GiaoDich.h"
#ifndef PhanCung_H
#define PhanCung_H

struct LoaiTien
{
	int soLuong;
	int menhGia;
};

// lop mo phong ban phim cua MRT xu ly cac thao tac nhap tu ban phim
class BanPhim
{
    public:
        BanPhim();
		int PhimNhan();
    private:
		int phimNhan;
};

// lop mo phong man hinh cua MRT xu ly cac thong bao cua MRT cho nguoi dung
class ManHinh
{
    public:
        ManHinh();
		//void HuyGiaoDich();
		bool Confirm(int);
		void inSao();
		void inChar(int);
        int HienThi(int);
		void MenuChinh();
        void NhapLaiMaPin(); 
        void NhapMaPin();
		void ThongBao(int);
		void Welcome();
		void TaoMau();
		
		
    private:
        int mhTrangThai;
};

// lop mo phong khe doc the cua MRT, lay thong tin tai qua thong qua the
class KheDocThe
{
    public:
        KheDocThe();
        int KiemTraMaPin();
        int LaySoTaiKhoanThe();
    private:
};

// lop quan ly ket an toan cua MRT, quan ly so luong moi loai tien trong MRT
// co chuc nang tra tien cho nguoi dung
// khi nguoi dung thuc hien giao dich rut tien mat
class HopDungTienMat
{
	public:
		HopDungTienMat();
		LoaiTien *Tien();
		long int TongTien();
		int TraTien(int);
	private:
		LoaiTien loaiTien[6];
		long int tongTien;
};

#endif // PhanCung_H
